import React from 'react'
import "../../styles/sidebar/logout.css"
import { BrowserRouter as Router, Switch, withRouter } from "react-router-dom";

class Logout extends React.Component {

    goMenber() {
        this.props.history.push("/menber")
        this.props.history.go(0)
    }

    render() {
        return (
            <div className='logout'>
                <p>登录网易云音乐</p>
                <p>手机电脑多端同步，尽享海量高品质音乐</p>
                <button type='primary' className='btn' onClick={this.goMenber.bind(this)}>立即登录</button>
            </div>
        )
    }
}

export default withRouter(Logout)